/*
 * This file is part of ksPlatform
 * 
 * Copyright (c) 2014-2015
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at 97041437@qq.com.
 */
package cn.com.ksplatform.modules.system.auth.sessionmanager.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.com.ksplatform.base.BaseController;
import cn.com.ksplatform.modules.system.auth.sessionmanager.store.OnlineClients;

/**
 * ClassName:SessionController.java <br/>
 * Date: 2015年12月4日 <br/>
 * 
 * @author Mr.Xiao
 * @version 1.0
 */
@Controller
@RequestMapping("/modules/system/session")
public class SessionController extends BaseController{
	@RequestMapping("list")
	@ResponseBody
	public List listSession(HttpServletRequest request) throws Exception {
		return OnlineClients.onlines;
	}
}
